package com.halflife.comeElectricity.order;

import com.halflife.comeElectricity.battery.Battery;
import com.halflife.comeElectricity.batteryBox.BatteryBox;
import com.halflife.comeElectricity.user.User;

/**
 * Created by zhaoyf on 2018/6/4.
 */
public class Order {
    public enum OrderStatus{
        START,END
    }
    private Integer id;
    private User user;
    private BatteryBox batteryBox;
    private Battery battery;
    private Long createTime;
    private Long orderTime;
    private Long endTime;
    private Integer status;
    private String memo;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public BatteryBox getBatteryBox() {
        return batteryBox;
    }

    public void setBatteryBox(BatteryBox batteryBox) {
        this.batteryBox = batteryBox;
    }

    public Battery getBattery() {
        return battery;
    }

    public void setBattery(Battery battery) {
        this.battery = battery;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Long orderTime) {
        this.orderTime = orderTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
}
